Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: jsdoc and improvements to daemon logic #2227

Merged
merged 4 commits into from
Aug 29, 2022
Merged

Conversation

hacdias
Copy link
Member

@hacdias hacdias commented Aug 11, 2022

While doing #2225, I noticed there are some few things could be improved:

  • Add JS Doc comments
  • Added custom error messages from things we already detected (config file missing, repository not being a directory)
  • IPFS Desktop now quits if the user does not choose to change the port when they're busy.

License: MIT
Signed-off-by: Henrique Dias hacdias@gmail.com

@hacdias hacdias changed the title wip: ref daemon code feat: jsdocs and improvements to daemon files Aug 11, 2022
@hacdias hacdias changed the title feat: jsdocs and improvements to daemon files feat: jsdoc and improvements to daemon logic Aug 11, 2022
@hacdias
Copy link
Member Author

hacdias commented Aug 16, 2022

@SgtPooki could you take a look at this, please? I think it's a good start and there's a few places where I put any but some also depend on other parts of the code so I didn't add them yet.

@hacdias hacdias marked this pull request as ready for review August 16, 2022 14:26
@hacdias hacdias requested a review from SgtPooki August 16, 2022 14:26
Copy link
Member

@SgtPooki SgtPooki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor questions and changes are requested.

src/daemon/consts.js Outdated Show resolved Hide resolved
src/daemon/daemon.js Outdated Show resolved Hide resolved
src/daemon/config.js Show resolved Hide resolved
@SgtPooki SgtPooki merged commit 68535e8 into main Aug 29, 2022
@SgtPooki SgtPooki deleted the refactor/daemon-code branch August 29, 2022 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants